Auto merge of #1687 - huonw:dev-dep-doc-test, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 6 Jun 2015 17:45:12 +0000 (17:45 +0000)
committerbors <bors@rust-lang.org>
Sat, 6 Jun 2015 17:45:12 +0000 (17:45 +0000)
Previously a dependency cycle like `a` <-(normal)- `b` <-(dev)- `a`
would mean that importing `b` in `a`'s doc test would fail because the
original `a` library was not found.

Fixes #1686.


Trivial merge